package org.jeecg.demo.wx.enumeration;

import lombok.Getter;
import org.jeecg.demo.wx.common.BaseEnum;

@Getter
public enum ScheduleStatusEnum implements BaseEnum {

    UNREAD("unread"),
    READ("read"),
    CANCELED("canceled"),
    FINISHED("finished"),
    TIMEOUT("timeout"),
    UNDO("undo");

    final String desc;

    ScheduleStatusEnum(String desc) {
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return this.name();
    }
}
